package cn.hdustea.shopNavigation.ui.contract

import cn.hdustea.shopNavigation.entity.Beauty
import cn.hdustea.shopNavigation.entity.Mall
import com.hdustea.base.base.IBaseModel
import com.hdustea.base.base.IBasePresenter
import com.hdustea.base.base.IBaseView
import com.hdustea.base.net.BaseCallback

interface MallSearchContract {
    interface Presenter : IBasePresenter {

        fun getSearchList(keyword: String, isRefresh: Boolean)
    }

    interface View : IBaseView {

        fun setSearchList(beautyList: MutableList<Mall>, isRefresh: Boolean)

    }

    interface Model : IBaseModel {

        fun getSearchList(keyword: String, callback: BaseCallback<MutableList<Mall>>)

    }
}